package com.cy.detectsys.mapper;

import com.cy.detectsys.entity.DetectTargetIp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author admin
* @description 针对表【detect_target_ip】的数据库操作Mapper
* @createDate 2024-05-23 18:32:39
* @Entity com.cy.detectsys.entity.DetectTargetIp
*/
public interface DetectTargetIpMapper extends BaseMapper<DetectTargetIp> {

    @Select("SELECT * FROM `detect_target_ip` where target_name = #{targetNameEn} ")
    List<DetectTargetIp> selectDomainsAndIps(String targetNameEn);
}




